﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200047F RID: 1151
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterStrongChallengeActivityStageCsReq : IMessage<EnterStrongChallengeActivityStageCsReq>, IMessage, IEquatable<EnterStrongChallengeActivityStageCsReq>, IDeepCloneable<EnterStrongChallengeActivityStageCsReq>, IBufferMessage
	{
		// Token: 0x17000ED2 RID: 3794
		// (get) Token: 0x060033D2 RID: 13266 RVA: 0x0008E83F File Offset: 0x0008CA3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterStrongChallengeActivityStageCsReq> Parser
		{
			get
			{
				return EnterStrongChallengeActivityStageCsReq._parser;
			}
		}

		// Token: 0x17000ED3 RID: 3795
		// (get) Token: 0x060033D3 RID: 13267 RVA: 0x0008E846 File Offset: 0x0008CA46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterStrongChallengeActivityStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000ED4 RID: 3796
		// (get) Token: 0x060033D4 RID: 13268 RVA: 0x0008E858 File Offset: 0x0008CA58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterStrongChallengeActivityStageCsReq.Descriptor;
			}
		}

		// Token: 0x060033D5 RID: 13269 RVA: 0x0008E85F File Offset: 0x0008CA5F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterStrongChallengeActivityStageCsReq()
		{
		}

		// Token: 0x060033D6 RID: 13270 RVA: 0x0008E880 File Offset: 0x0008CA80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterStrongChallengeActivityStageCsReq(EnterStrongChallengeActivityStageCsReq other) : this()
		{
			this.avatarList_ = other.avatarList_.Clone();
			this.buffList_ = other.buffList_.Clone();
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060033D7 RID: 13271 RVA: 0x0008E8D2 File Offset: 0x0008CAD2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterStrongChallengeActivityStageCsReq Clone()
		{
			return new EnterStrongChallengeActivityStageCsReq(this);
		}

		// Token: 0x17000ED5 RID: 3797
		// (get) Token: 0x060033D8 RID: 13272 RVA: 0x0008E8DA File Offset: 0x0008CADA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<StrongChallengeAvatar> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x17000ED6 RID: 3798
		// (get) Token: 0x060033D9 RID: 13273 RVA: 0x0008E8E2 File Offset: 0x0008CAE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BuffList
		{
			get
			{
				return this.buffList_;
			}
		}

		// Token: 0x17000ED7 RID: 3799
		// (get) Token: 0x060033DA RID: 13274 RVA: 0x0008E8EA File Offset: 0x0008CAEA
		// (set) Token: 0x060033DB RID: 13275 RVA: 0x0008E8F2 File Offset: 0x0008CAF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x060033DC RID: 13276 RVA: 0x0008E8FB File Offset: 0x0008CAFB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterStrongChallengeActivityStageCsReq);
		}

		// Token: 0x060033DD RID: 13277 RVA: 0x0008E90C File Offset: 0x0008CB0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterStrongChallengeActivityStageCsReq other)
		{
			return other != null && (other == this || (this.avatarList_.Equals(other.avatarList_) && this.buffList_.Equals(other.buffList_) && this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060033DE RID: 13278 RVA: 0x0008E970 File Offset: 0x0008CB70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarList_.GetHashCode();
			num ^= this.buffList_.GetHashCode();
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060033DF RID: 13279 RVA: 0x0008E9CB File Offset: 0x0008CBCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060033E0 RID: 13280 RVA: 0x0008E9D3 File Offset: 0x0008CBD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060033E1 RID: 13281 RVA: 0x0008E9DC File Offset: 0x0008CBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.buffList_.WriteTo(ref output, EnterStrongChallengeActivityStageCsReq._repeated_buffList_codec);
			this.avatarList_.WriteTo(ref output, EnterStrongChallengeActivityStageCsReq._repeated_avatarList_codec);
			if (this.StageId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060033E2 RID: 13282 RVA: 0x0008EA3C File Offset: 0x0008CC3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarList_.CalculateSize(EnterStrongChallengeActivityStageCsReq._repeated_avatarList_codec);
			num += this.buffList_.CalculateSize(EnterStrongChallengeActivityStageCsReq._repeated_buffList_codec);
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060033E3 RID: 13283 RVA: 0x0008EAA0 File Offset: 0x0008CCA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterStrongChallengeActivityStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarList_.Add(other.avatarList_);
			this.buffList_.Add(other.buffList_);
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060033E4 RID: 13284 RVA: 0x0008EAFE File Offset: 0x0008CCFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060033E5 RID: 13285 RVA: 0x0008EB08 File Offset: 0x0008CD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 82U)
				{
					if (num == 80U || num == 82U)
					{
						this.buffList_.AddEntriesFrom(ref input, EnterStrongChallengeActivityStageCsReq._repeated_buffList_codec);
						continue;
					}
				}
				else
				{
					if (num == 98U)
					{
						this.avatarList_.AddEntriesFrom(ref input, EnterStrongChallengeActivityStageCsReq._repeated_avatarList_codec);
						continue;
					}
					if (num == 112U)
					{
						this.StageId = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04001459 RID: 5209
		private static readonly MessageParser<EnterStrongChallengeActivityStageCsReq> _parser = new MessageParser<EnterStrongChallengeActivityStageCsReq>(() => new EnterStrongChallengeActivityStageCsReq());

		// Token: 0x0400145A RID: 5210
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400145B RID: 5211
		public const int AvatarListFieldNumber = 12;

		// Token: 0x0400145C RID: 5212
		private static readonly FieldCodec<StrongChallengeAvatar> _repeated_avatarList_codec = FieldCodec.ForMessage<StrongChallengeAvatar>(98U, StrongChallengeAvatar.Parser);

		// Token: 0x0400145D RID: 5213
		private readonly RepeatedField<StrongChallengeAvatar> avatarList_ = new RepeatedField<StrongChallengeAvatar>();

		// Token: 0x0400145E RID: 5214
		public const int BuffListFieldNumber = 10;

		// Token: 0x0400145F RID: 5215
		private static readonly FieldCodec<uint> _repeated_buffList_codec = FieldCodec.ForUInt32(82U);

		// Token: 0x04001460 RID: 5216
		private readonly RepeatedField<uint> buffList_ = new RepeatedField<uint>();

		// Token: 0x04001461 RID: 5217
		public const int StageIdFieldNumber = 14;

		// Token: 0x04001462 RID: 5218
		private uint stageId_;
	}
}
